<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="Stylesheet" href="css/analysis.css" />
    <script type="text/javascript">
        function init() {
            if (window.location.hash) {
                var parentDiv, nodes, i, helpId;
                helpId = window.location.hash.substring(1);
                parentDiv = document.getElementById("topics");
                nodes = parentDiv.children;
                for(i=0; i < nodes.length; i++) {
                    if(nodes[i].id !== helpId) {
                        nodes[i].style.display ="none";
                    }
                }
            }
        }
    </script>
</head>
<body onload="init()">
<div id="topics">
    <div id="toolDescription" class="largesize">
        <h2>Summarize Within</h2><p/>
        <h2><img src="./images/GUID-2E97B2ED-56A7-4242-B0E0-C1824E6F643F-web.png" alt="Summarize Within"></h2>
        <hr/>
    <p>This tool finds features (and portions of features) that are within the boundaries of areas in the analysis layer.  For example:
        <ul>
            <li>Given a layer of watershed boundaries and a layer of land-use boundaries by land-use type, calculate total acreage of land-use type for each watershed. 
            </li>
            <li>Given a layer of parcels in a county and a layer of city boundaries, summarize the average value of vacant parcels within each city boundary.
            </li>
        </ul>
        
    </p>
    <p>If  <b>Use current map extent</b> is checked, only those features in the analysis layer and the layer to be summarized that are visible within the current map extent will be analyzed.  If unchecked, all features in both the analysis layer and the  layer to be summarized will be analyzed, even if they are outside the current map extent.
    </p>
    </div>
    <!--Parameter divs for each param-->
    <div id="Summarize">
        <div><h2>Choose layer to summarize</h2></div>
        <hr/>
        <div>
            <p>Features in this layer that fall within the boundaries of features in the  analysis layer will be summarized. 
            </p>
        </div>
    </div>
    <div id="StatisticsPoint">
        <div><h2>Add statistics from</h2></div>
        <hr/>
        <div>
            <p>You can optionally calculate statistics for numerical attributes of the points that fall within the boundaries of features. 
            </p>
            <p>The  <b>Count of points</b> check box, if checked, will calculate the total number of points within each area boundary.  In addition, you can calculate statistics for numerical attributes of the  points that are within each area boundary.
            </p>
            <ul>
                <li> <b>Sum</b>&mdash;The total value for the specified
field.
                </li>
                <li> <b>Average</b>&mdash;The average or mean for the specified field.
                </li>
                <li> <b>Minimum</b>&mdash;The smallest value in the specified
field.
                </li>
                <li> <b>Maximum</b>&mdash;The largest value in the specified
field.
                </li>
                <li> <b>Std. Deviation</b>&mdash;The standard deviation of the
values in the specified field.
                </li>
            </ul>
            
        </div>
    </div>
    <div id="StatisticsLine">
        <div><h2>Add statistics from</h2></div>
        <hr/>
        <div>
            <p>You can optionally calculate statistics for numerical attributes of the nearby lines. 
            </p>
            <p>The  <b>Total length of lines in</b> check box, if checked, will calculate the total length of lines within each area boundary.  In addition, you can calculate statistics for numerical attributes of the lines that are within each area boundary.
            </p>
            <ul>
                <li> <b>Sum</b>&mdash;The total value for the specified
field.
                </li>
                <li> <b>Average</b>&mdash;The average or mean for the specified field.
                </li>
                <li> <b>Minimum</b>&mdash;The smallest value in the specified
field.
                </li>
                <li> <b>Maximum</b>&mdash;The largest value in the specified
field.
                </li>
                <li> <b>Std. Deviation</b>&mdash;The standard deviation of the
values in the specified field.
                </li>
            </ul>
            
        </div>
    </div>
    <div id="StatisticsPolygon">
        <div><h2>Add statistics from</h2></div>
        <hr/>
        <div>
            <p>You can optionally calculate statistics for numerical attributes of the nearby areas. 
            </p>
            <p>The  <b>Sum area using</b> check box, if checked, will calculate the total area of  features that are within each area boundary of the analysis layer.  In addition, you can calculate statistics for numerical attributes of the features within each area boundary.
            </p>
            <ul>
                <li> <b>Sum</b>&mdash;The total value for the specified
field.
                </li>
                <li> <b>Average</b>&mdash;The average or mean for the specified field.
                </li>
                <li> <b>Minimum</b>&mdash;The smallest value in the specified
field.
                </li>
                <li> <b>Maximum</b>&mdash;The largest value in the specified
field.
                </li>
                <li> <b>Std. Deviation</b>&mdash;The standard deviation of the
values in the specified field.
                </li>
            </ul>
            
        </div>
    </div>
    <div id="GroupBy">
        <div><h2>Choose field to group by</h2></div>
        <hr/>
        <div>
            <p>This is an attribute of the  <b>Summarize</b> features that you can use to calculate statistics separately for each unique attribute value. For example, suppose the analysis layer contains city boundaries and the <b>Summarize</b>  features are parcels.  One of the attributes of the parcels is <i>Status</i> which contains two values: VACANT and OCCUPIED. To calculate the total area of vacant and occupied parcels within the boundaries of cities,  use <i>Status</i> as the group by attribute.
 The statistics for each group, as well as the count of features within each area boundary, will be displayed in the result layer's pop-up.
            </p>
        </div>
    </div>
    <div id="MinorityMajority">
        <div><h2>Add minority, majority</h2></div>
        <hr/>
        <div>
            <p>This checkbox is enabled  when you choose a field to group by.    If you want to find out which attribute values within each group are the minority (least dominant) or the majority (most dominant)  within each boundary of the analysis layer,  select  <b>Add minority, majority</b>.   When you select <b>Add minority, majority</b>, two new fields are added to your result layer.   If you also select <b>Add percentages</b>, two additional fields are added to the result layer containing the percentages of the minority and majority attribute values within each group.
            </p>
            <ul>
                <li>If you are summarizing points, minority and majority values are calculated based on the count of points within each bounding area in the analysis layer.  
                </li>
                <li>If you are summarizing  lines, minority and majority values are calculated based on the length of  lines within each bounding area in the analysis layer.  
                </li>
                <li>If you are summarizing  areas, minority and majority values are calculated based on the areas within each bounding area in the analysis layer.  
                </li>
            </ul>
            
        </div>
    </div>
    <div id="PercentShape">
        <div><h2>Add percentages</h2></div>
        <hr/>
        <div>
            <p>This checkbox is enabled  when you choose a field to group by.    Select  <b>Add percentages</b>   if you want to find the percentage of each attribute value within each group.  A new field  is added to the result table containing the percentages of each attribute value within each group.   If <b>Add minority, majority</b> is also checked, two additional fields are added to the result layer containing the percentages of the minority and majority attribute values within each group.
            </p>
        </div>
    </div>
    <div id="ResultLayerName">
        <div><h2>Result layer name</h2></div>
        <hr/>
        <div>
            <p>This is the name of the layer that will be created in  your  <b>My Contents</b>  and added to the map.  The default  name is based on the analysis layer name. If the layer already exists, you will be asked to confirm if you want to overwrite it.
            </p>
            <p>Using the  <b>Save result in</b> drop-down box, you can  specify the name of a folder in <b>My Contents</b> where the result will be saved.
            </p>
        </div>
    </div>
</div>
</html>
